gtk4.git
15 years agoFix a memory leak
Matthias Clasen [Wed, 17 Nov 2010 02:50:56 +0000 (21:50 -0500)]
Fix a memory leak

15 years agoTranslate detail strings for radio buttons
Matthias Clasen [Wed, 17 Nov 2010 02:50:04 +0000 (21:50 -0500)]
Translate detail strings for radio buttons

15 years agoGtkThemingEngine: remove unused code
Carlos Garnacho [Wed, 17 Nov 2010 01:59:19 +0000 (02:59 +0100)]
GtkThemingEngine: remove unused code

15 years agoFix compile warnings
Carlos Garnacho [Wed, 17 Nov 2010 01:56:49 +0000 (02:56 +0100)]
Fix compile warnings

15 years agoGtkStyleProvider: Pass a GParamSpec in get_style_property().
Carlos Garnacho [Wed, 17 Nov 2010 01:42:27 +0000 (02:42 +0100)]
GtkStyleProvider: Pass a GParamSpec in get_style_property().

This is so we can know the owner type of the property, and matching
with the stored strings in GtkCssProvider is direct.

15 years agoGtkStyleContext: Also use screen providers for widget style properties.
Carlos Garnacho [Wed, 17 Nov 2010 01:41:54 +0000 (02:41 +0100)]
GtkStyleContext: Also use screen providers for widget style properties.

15 years agoHandle menuitem detail string better.
Carlos Garnacho [Wed, 17 Nov 2010 01:40:21 +0000 (02:40 +0100)]
Handle menuitem detail string better.

15 years agoGtkSettings: install theme CSS with a lower priority.
Carlos Garnacho [Wed, 17 Nov 2010 01:39:17 +0000 (02:39 +0100)]
GtkSettings: install theme CSS with a lower priority.

This is so GtkSettings has an opportunity to modify theme colors.

15 years agoAdd corners to GtkJunctionSides, defining sides as 2 corners.
Carlos Garnacho [Wed, 17 Nov 2010 01:38:31 +0000 (02:38 +0100)]
Add corners to GtkJunctionSides, defining sides as 2 corners.

15 years agoDon't whine about expander-style missing
Matthias Clasen [Tue, 16 Nov 2010 12:52:27 +0000 (07:52 -0500)]
Don't whine about expander-style missing

This check was lost in the GtkStyleContext porting.

15 years agoGtkCssProvider: theme notebooks.
Carlos Garnacho [Mon, 15 Nov 2010 22:28:53 +0000 (23:28 +0100)]
GtkCssProvider: theme notebooks.

15 years agoGtkThemingEngine: Use border settings on render_extension/frame_gap()
Carlos Garnacho [Mon, 15 Nov 2010 22:28:06 +0000 (23:28 +0100)]
GtkThemingEngine: Use border settings on render_extension/frame_gap()

15 years agoGtkStyle: transform tabs' detail string.
Carlos Garnacho [Mon, 15 Nov 2010 22:27:44 +0000 (23:27 +0100)]
GtkStyle: transform tabs' detail string.

15 years agoGtkThemingEngine: Do not use possible reserved word.
Carlos Garnacho [Sun, 14 Nov 2010 18:47:09 +0000 (19:47 +0100)]
GtkThemingEngine: Do not use possible reserved word.

15 years agotestgtk: Try to locate the right file.
Carlos Garnacho [Sat, 13 Nov 2010 22:18:44 +0000 (23:18 +0100)]
testgtk: Try to locate the right file.

15 years agoFix gtk_css_provider_get_named() docs.
Carlos Garnacho [Sat, 13 Nov 2010 21:57:49 +0000 (22:57 +0100)]
Fix gtk_css_provider_get_named() docs.

15 years agoGtkSettings: Keep right refcount of the theme provider.
Carlos Garnacho [Sat, 13 Nov 2010 21:36:22 +0000 (22:36 +0100)]
GtkSettings: Keep right refcount of the theme provider.

15 years agoGtkSettings: Ensure the theme CSS is loaded on startup.
Carlos Garnacho [Sat, 13 Nov 2010 21:35:58 +0000 (22:35 +0100)]
GtkSettings: Ensure the theme CSS is loaded on startup.

15 years agoGtkCssProvider: Fix typo in gtk_css_provider_get_named()
Carlos Garnacho [Sat, 13 Nov 2010 21:34:30 +0000 (22:34 +0100)]
GtkCssProvider: Fix typo in gtk_css_provider_get_named()

provider was being redefined in the inner block, so the loaded
provider didn't get to be returned.

15 years agoHardcode 3.0 version for style files and paths.
Carlos Garnacho [Sat, 13 Nov 2010 21:33:34 +0000 (22:33 +0100)]
Hardcode 3.0 version for style files and paths.

It's about time to start using the right paths.

15 years agoMake testgtk load CSS for custom styling.
Carlos Garnacho [Sat, 13 Nov 2010 20:19:41 +0000 (21:19 +0100)]
Make testgtk load CSS for custom styling.

15 years agoGtkCssProvider: Accept '%' in value strings.
Carlos Garnacho [Sat, 13 Nov 2010 20:13:13 +0000 (21:13 +0100)]
GtkCssProvider: Accept '%' in value strings.

15 years agoDo not initialize RC subsystem.
Carlos Garnacho [Sat, 13 Nov 2010 18:54:37 +0000 (19:54 +0100)]
Do not initialize RC subsystem.

15 years agoGtkStyleProperties: Use GParamSpec for properties registration.
Carlos Garnacho [Sat, 13 Nov 2010 18:53:36 +0000 (19:53 +0100)]
GtkStyleProperties: Use GParamSpec for properties registration.

15 years agoGtkCssProvider: Docs fix for -gtk-gradient() syntax.
Carlos Garnacho [Sat, 13 Nov 2010 12:27:37 +0000 (13:27 +0100)]
GtkCssProvider: Docs fix for -gtk-gradient() syntax.

15 years agoHandle looping transition animations.
Carlos Garnacho [Sat, 13 Nov 2010 12:24:18 +0000 (13:24 +0100)]
Handle looping transition animations.

15 years agoGtkCssProvider: Handle better wrong enum/flag values.
Carlos Garnacho [Sat, 13 Nov 2010 11:44:55 +0000 (12:44 +0100)]
GtkCssProvider: Handle better wrong enum/flag values.

15 years agoGtkCssProviders: Parse GTypeFlags based values.
Carlos Garnacho [Sat, 13 Nov 2010 11:36:24 +0000 (12:36 +0100)]
GtkCssProviders: Parse GTypeFlags based values.

15 years agoGtkCssProvider: Add initial unit parsing logic
Carlos Garnacho [Sat, 13 Nov 2010 02:55:21 +0000 (03:55 +0100)]
GtkCssProvider: Add initial unit parsing logic

At the moment only "px" are supported, and such is the default
value when no unit is specified.

15 years agoGtkCssProvider: Handle the "none" keyword to unset properties.
Carlos Garnacho [Sat, 13 Nov 2010 01:30:53 +0000 (02:30 +0100)]
GtkCssProvider: Handle the "none" keyword to unset properties.

15 years agoGtkStyleContext: Resolve symbolic colors for widget style properties.
Carlos Garnacho [Sat, 13 Nov 2010 01:18:11 +0000 (02:18 +0100)]
GtkStyleContext: Resolve symbolic colors for widget style properties.

15 years agoGtkStyleProperties: Handle GdkColor types.
Carlos Garnacho [Sat, 13 Nov 2010 00:25:07 +0000 (01:25 +0100)]
GtkStyleProperties: Handle GdkColor types.

Just in case.

15 years agoGtkCssProvider: Also parse GdkColor values
Carlos Garnacho [Sat, 13 Nov 2010 00:24:07 +0000 (01:24 +0100)]
GtkCssProvider: Also parse GdkColor values

This is necessary for widget style properties to work.

15 years agoGtkCssProvider: Add lighter/darker color functions.
Carlos Garnacho [Fri, 12 Nov 2010 22:59:22 +0000 (23:59 +0100)]
GtkCssProvider: Add lighter/darker color functions.

These behave the same than in GtkStyle.

15 years agoGtkCssProvider: allow color names from rgb.txt when parsing colors.
Carlos Garnacho [Fri, 12 Nov 2010 21:59:21 +0000 (22:59 +0100)]
GtkCssProvider: allow color names from rgb.txt when parsing colors.

15 years agoGtkStyleContext: Add #define's for the default properties.
Carlos Garnacho [Fri, 12 Nov 2010 21:48:29 +0000 (22:48 +0100)]
GtkStyleContext: Add #define's for the default properties.

15 years agoDocument missing GtkStateType values.
Carlos Garnacho [Fri, 12 Nov 2010 20:46:55 +0000 (21:46 +0100)]
Document missing GtkStateType values.

The documentation has also moved to gtkenums.h.

15 years agoRemove GTK_STATE_LAST.
Carlos Garnacho [Fri, 12 Nov 2010 20:44:48 +0000 (21:44 +0100)]
Remove GTK_STATE_LAST.

It didn't turn out to be that useful, nor widely used.

15 years agoUse the correct cairo-gobject.h include path.
Carlos Garnacho [Fri, 12 Nov 2010 20:43:13 +0000 (21:43 +0100)]
Use the correct cairo-gobject.h include path.

15 years agoAdd gtk_render_icon_pixbuf() function to docs.
Carlos Garnacho [Fri, 12 Nov 2010 18:31:04 +0000 (19:31 +0100)]
Add gtk_render_icon_pixbuf() function to docs.

15 years agoAdd GtkStyleContext migration docs.
Carlos Garnacho [Fri, 12 Nov 2010 18:28:51 +0000 (19:28 +0100)]
Add GtkStyleContext migration docs.

15 years agoGtkThemingEngine: Document missing class vmethods.
Carlos Garnacho [Tue, 9 Nov 2010 20:48:49 +0000 (21:48 +0100)]
GtkThemingEngine: Document missing class vmethods.

15 years agoGtkButton: Use GtkStyleContext for rendering.
Carlos Garnacho [Tue, 9 Nov 2010 20:33:10 +0000 (21:33 +0100)]
GtkButton: Use GtkStyleContext for rendering.

15 years agoGtkWindow: Use GtkStyleContext for rendering.
Carlos Garnacho [Tue, 9 Nov 2010 20:26:52 +0000 (21:26 +0100)]
GtkWindow: Use GtkStyleContext for rendering.

15 years agoGtkStyleContext: Add gtk_style_context_set_background().
Carlos Garnacho [Tue, 9 Nov 2010 20:24:41 +0000 (21:24 +0100)]
GtkStyleContext: Add gtk_style_context_set_background().

This function replaces gtk_style_set_background().

15 years agoGtkWidget: Update pango context from style context's font description.
Carlos Garnacho [Tue, 9 Nov 2010 17:31:39 +0000 (18:31 +0100)]
GtkWidget: Update pango context from style context's font description.

15 years agoGtkWidget: Ensure the style context always has an screen.
Carlos Garnacho [Tue, 9 Nov 2010 17:28:38 +0000 (18:28 +0100)]
GtkWidget: Ensure the style context always has an screen.

Things like font settings depend on the screen, and widgets
like GtkTextView trigger queries on widgets without screen
when the parent window is being destroyed.

15 years agoAdd CSS class defines for toolbars and docks.
Carlos Garnacho [Tue, 9 Nov 2010 17:27:36 +0000 (18:27 +0100)]
Add CSS class defines for toolbars and docks.

15 years agoGtkStyle: translate a few more detail strings.
Carlos Garnacho [Tue, 9 Nov 2010 17:27:13 +0000 (18:27 +0100)]
GtkStyle: translate a few more detail strings.

15 years agoGtkCssProvider: theme progressbars in default CSS.
Carlos Garnacho [Tue, 9 Nov 2010 17:26:39 +0000 (18:26 +0100)]
GtkCssProvider: theme progressbars in default CSS.

15 years agoGtkThemingEngine: ensure 1px wide frames aren't painted between pixels.
Carlos Garnacho [Mon, 8 Nov 2010 19:17:17 +0000 (20:17 +0100)]
GtkThemingEngine: ensure 1px wide frames aren't painted between pixels.

15 years agoGtkThemingEngine: Use square cap for solid frames.
Carlos Garnacho [Mon, 8 Nov 2010 19:15:19 +0000 (20:15 +0100)]
GtkThemingEngine: Use square cap for solid frames.

15 years agoGtkThemingEngine: ensure that background isn't rendered past the frame boundaries.
Carlos Garnacho [Mon, 8 Nov 2010 19:12:15 +0000 (20:12 +0100)]
GtkThemingEngine: ensure that background isn't rendered past the frame boundaries.

15 years agoGtkThemingEngine: Get rid of obsolete code for tooltips.
Carlos Garnacho [Mon, 8 Nov 2010 11:48:29 +0000 (12:48 +0100)]
GtkThemingEngine: Get rid of obsolete code for tooltips.

15 years agoGtkStyleContext: Fix check for GtkIconSize in render_icon_pixbuf().
Carlos Garnacho [Mon, 8 Nov 2010 11:39:28 +0000 (12:39 +0100)]
GtkStyleContext: Fix check for GtkIconSize in render_icon_pixbuf().

15 years agoGtkStyleContext: restore widget state too in restore().
Carlos Garnacho [Mon, 8 Nov 2010 01:53:12 +0000 (02:53 +0100)]
GtkStyleContext: restore widget state too in restore().

15 years agoGtkCssProvider: Do not miss the last class name in concatenated classes.
Carlos Garnacho [Mon, 8 Nov 2010 01:51:53 +0000 (02:51 +0100)]
GtkCssProvider: Do not miss the last class name in concatenated classes.

Selectors like .menu.check or .entry.progressbar were being misparsed
and attributed to .menu and .entry.

15 years agoGtkStyle: transform window background detail string.
Carlos Garnacho [Mon, 8 Nov 2010 01:30:39 +0000 (02:30 +0100)]
GtkStyle: transform window background detail string.

15 years agoGtkStyle: Transform menubar detail string.
Carlos Garnacho [Mon, 8 Nov 2010 01:15:06 +0000 (02:15 +0100)]
GtkStyle: Transform menubar detail string.

15 years agoGtkStyle: Transform menu accelerators string
Carlos Garnacho [Mon, 8 Nov 2010 00:52:25 +0000 (01:52 +0100)]
GtkStyle: Transform menu accelerators string

15 years agoGtkStyleContext: Define some more class names.
Carlos Garnacho [Mon, 8 Nov 2010 00:30:02 +0000 (01:30 +0100)]
GtkStyleContext: Define some more class names.

15 years agoRemove GTK_REGION_DEFAULT
Carlos Garnacho [Sat, 6 Nov 2010 11:40:15 +0000 (12:40 +0100)]
Remove GTK_REGION_DEFAULT

GTK_STYLE_CLASS_DEFAULT is preferred to match a default area, as
it doesn't make sense to have a per-region default.

15 years agoGtkThemingEngine: Use GtkSymbolicColor for shades.
Carlos Garnacho [Sat, 6 Nov 2010 11:38:52 +0000 (12:38 +0100)]
GtkThemingEngine: Use GtkSymbolicColor for shades.

15 years agoGtkThemingEngine: Do not require a default value when registering properties
Carlos Garnacho [Sat, 6 Nov 2010 11:37:46 +0000 (12:37 +0100)]
GtkThemingEngine: Do not require a default value when registering properties

NULL should work for 0 for int/double/enum/... types and NULL for
pointer types, this should be sane enough to not require a default
value.

15 years agoGtkSymbolicColor: Only require styleproperties when resolving named colors.
Carlos Garnacho [Sat, 6 Nov 2010 11:36:05 +0000 (12:36 +0100)]
GtkSymbolicColor: Only require styleproperties when resolving named colors.

It is not necessary for resolving colors based on literals,
so be a bit less strict here.

15 years agoGtkSymbolicColor: convert to/from hls when shading.
Carlos Garnacho [Sat, 6 Nov 2010 11:35:20 +0000 (12:35 +0100)]
GtkSymbolicColor: convert to/from hls when shading.

This makes shading equal to GtkStyle's.

15 years agoGtkSymbolicColor: Do not clamp shade/mix/alpha factors.
Carlos Garnacho [Sat, 6 Nov 2010 11:33:52 +0000 (12:33 +0100)]
GtkSymbolicColor: Do not clamp shade/mix/alpha factors.

15 years agoGtkStyleContext: Add gtk_render_icon_pixbuf()
Carlos Garnacho [Wed, 3 Nov 2010 20:14:08 +0000 (21:14 +0100)]
GtkStyleContext: Add gtk_render_icon_pixbuf()

This function is similar to gtk_style_render_icon(), which is now
implemented on top of this one.

15 years agoGtkThemingEngine: Fix compile warning.
Carlos Garnacho [Wed, 3 Nov 2010 20:12:57 +0000 (21:12 +0100)]
GtkThemingEngine: Fix compile warning.

15 years agoFix compile warning
Carlos Garnacho [Wed, 3 Nov 2010 20:10:06 +0000 (21:10 +0100)]
Fix compile warning

15 years agoGtkStatusIcon: update to use gtk_widget_override_symbolic_color().
Carlos Garnacho [Wed, 3 Nov 2010 18:27:18 +0000 (19:27 +0100)]
GtkStatusIcon: update to use gtk_widget_override_symbolic_color().

15 years agoGtkWidget: Add new set of methods to override style information.
Carlos Garnacho [Wed, 3 Nov 2010 11:21:04 +0000 (12:21 +0100)]
GtkWidget: Add new set of methods to override style information.

gtk_widget_override_*() deprecates gtk_widget_modify_*(). There are
only functions to modify fg/bg/font/symbolic color, If anything more
fancy/complex is needed. There is the possibility of adding a
GtkStyleProvider yourself.

15 years agoGtkStyle: Listen to context changes.
Carlos Garnacho [Wed, 3 Nov 2010 11:18:48 +0000 (12:18 +0100)]
GtkStyle: Listen to context changes.

This way the GtkStyle is updated to the latest style info, actually
emitting ::style-set must be performed after invalidating the style
context.

15 years agoGtkStyleContext: Add the start of a default set of class names/regions.
Carlos Garnacho [Wed, 3 Nov 2010 11:17:06 +0000 (12:17 +0100)]
GtkStyleContext: Add the start of a default set of class names/regions.

15 years agoTheming documentation fixes
Carlos Garnacho [Wed, 3 Nov 2010 11:15:49 +0000 (12:15 +0100)]
Theming documentation fixes

2 functions were not in -sections.txt, and GtkStyleSet was renamed
to GtkStyleProperties.

15 years agoGtkStyleContext: Fix merging of local and global providers.
Carlos Garnacho [Wed, 3 Nov 2010 10:40:12 +0000 (11:40 +0100)]
GtkStyleContext: Fix merging of local and global providers.

15 years agoGtkStyleProperties: Merge font descriptions on merge()
Carlos Garnacho [Wed, 3 Nov 2010 10:36:18 +0000 (11:36 +0100)]
GtkStyleProperties: Merge font descriptions on merge()

This is necessary so incomplete font descriptions are ensured to have
family and size.

15 years agoGtkSymbolicColor: Take const GdkRGBA in new_literal().
Carlos Garnacho [Wed, 3 Nov 2010 10:35:42 +0000 (11:35 +0100)]
GtkSymbolicColor: Take const GdkRGBA in new_literal().

15 years agoDocument gtk_render_* functions.
Carlos Garnacho [Mon, 1 Nov 2010 02:58:21 +0000 (03:58 +0100)]
Document gtk_render_* functions.

15 years agoAdd gtk_render_activity()
Carlos Garnacho [Mon, 1 Nov 2010 01:46:35 +0000 (02:46 +0100)]
Add gtk_render_activity()

This method will render progress bars and spinners, these should
handle active and inconsistent states' animation progress in order
to perform animations.

15 years agoGtkThemingEngine: draw resize grip through render_handle().
Carlos Garnacho [Mon, 1 Nov 2010 01:42:08 +0000 (02:42 +0100)]
GtkThemingEngine: draw resize grip through render_handle().

GtkJunctionSides is used instead of GdkWindowEdge, GtkStyle
implementation has changed to use GtkStyleContext's.

15 years agoGtkWidget: Trigger state change transitions on state flags change.
Carlos Garnacho [Mon, 1 Nov 2010 01:37:07 +0000 (02:37 +0100)]
GtkWidget: Trigger state change transitions on state flags change.

This makes state transitions automatic for non-complex widgets, complex
widgets such as GtkTreeView still need to notify state updates themselves.

15 years agoGtkToolItemGroup: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:45:41 +0000 (14:45 +0100)]
GtkToolItemGroup: Set widget state as state flags.

15 years agoGtkToggleButton: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:45:19 +0000 (14:45 +0100)]
GtkToggleButton: Set widget state as state flags.

15 years agoGtkRadioButton: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:45:01 +0000 (14:45 +0100)]
GtkRadioButton: Set widget state as state flags.

15 years agoGtkNotebook: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:44:26 +0000 (14:44 +0100)]
GtkNotebook: Set widget state as state flags.

15 years agoGtkMenuItem: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:44:09 +0000 (14:44 +0100)]
GtkMenuItem: Set widget state as state flags.

15 years agoGtkMenu: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:43:55 +0000 (14:43 +0100)]
GtkMenu: Set widget state as state flags.

15 years agoGtkExpander: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:43:37 +0000 (14:43 +0100)]
GtkExpander: Set widget state as state flags.

15 years agoGtkEntry: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:43:20 +0000 (14:43 +0100)]
GtkEntry: Set widget state as state flags.

15 years agoGtkComboBox: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:42:51 +0000 (14:42 +0100)]
GtkComboBox: Set widget state as state flags.

15 years agoGtkButton: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:38:26 +0000 (14:38 +0100)]
GtkButton: Set widget state as state flags.

15 years agoImplement widget states as a set of flags
Carlos Garnacho [Sat, 30 Oct 2010 19:48:38 +0000 (21:48 +0200)]
Implement widget states as a set of flags

gtk_widget_(set|unset|get)_state_flags() has been added, using GtkStateFlags
to represent the widget state. GtkStateType API has been implemented on top
of the new one.

15 years agoDocument missing value in GtkStateFlags
Carlos Garnacho [Sat, 30 Oct 2010 17:53:43 +0000 (19:53 +0200)]
Document missing value in GtkStateFlags

15 years agos/GtkStyleSet/GtkStyleProperties/
Carlos Garnacho [Fri, 29 Oct 2010 04:47:32 +0000 (06:47 +0200)]
s/GtkStyleSet/GtkStyleProperties/

The former name had oddities such as gtk_style_set_set() and such,
so the new name is nicer in that regard and not much longer.

15 years agoGtkWidget: Ensure name changes involve a style context update.
Carlos Garnacho [Fri, 29 Oct 2010 04:01:51 +0000 (06:01 +0200)]
GtkWidget: Ensure name changes involve a style context update.

15 years agoRely only on fg/bg colors.
Carlos Garnacho [Fri, 29 Oct 2010 03:33:38 +0000 (05:33 +0200)]
Rely only on fg/bg colors.

"foreground-color" has been renamed to just "color" as in regular CSS,
and the "text-color" and "base-color" properties have been removed. The
default CSS has been changed to have widgets cope with this change.

15 years agoGtkCssProvider: Fix parsing of concatenated classes.
Carlos Garnacho [Fri, 29 Oct 2010 03:30:36 +0000 (05:30 +0200)]
GtkCssProvider: Fix parsing of concatenated classes.

Now selectors such as:

 GtkWidget#name.class1.class2
 #name.class1.class2
 .class1.class2

are parsed correctly, being meaningful for a widget defining several
classes.

15 years agoGtkThemingEngine: Use ::name when registering style props.
Carlos Garnacho [Wed, 27 Oct 2010 21:23:14 +0000 (23:23 +0200)]
GtkThemingEngine: Use ::name when registering style props.

15 years agoGtkThemingEngine: Add ::name construct only property
Carlos Garnacho [Mon, 25 Oct 2010 22:43:20 +0000 (00:43 +0200)]
GtkThemingEngine: Add ::name construct only property

This property is to be set by theming engines, the name set will be favored
over the object type name when registering custom properties, making possible
something like:

-Clearlooks-border: blah;